package com.lifesea.model.dto;

import java.io.Serializable;

/**
 * Created by iscdw on 2016/5/18.
 */
public class AppPushRequest implements Serializable{

    private Integer did;
    /**
     * 推送的ID
     */
    private Long ecn;

    /**
     * 业务参数
     */
    private String businessId;

    /**
     * 消息类型
     */
    private String templateType;

    /**
     * 用于填充模板的数据
     */
    private Object formatObj;

    /**
     * 推送内容,优先级大于templateType
     */
    private String content;

    public Integer getDid() {
        return did;
    }

    public void setDid(Integer did) {
        this.did = did;
    }

    public Long getEcn() {
        return ecn;
    }

    public void setEcn(Long ecn) {
        this.ecn = ecn;
    }

    public String getBusinessId() {
        return businessId;
    }

    public void setBusinessId(String businessId) {
        this.businessId = businessId;
    }

    public String getTemplateType() {
        return templateType;
    }

    public void setTemplateType(String templateType) {
        this.templateType = templateType;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Object getFormatObj() {
        return formatObj;
    }

    public void setFormatObj(Object formatObj) {
        this.formatObj = formatObj;
    }

    @Override
    public String toString() {
        return "AppPushRequest{" +
                "did=" + did +
                ", ecn=" + ecn +
                ", businessId='" + businessId + '\'' +
                ", templateType='" + templateType + '\'' +
                ", formatObj=" + formatObj +
                ", content='" + content + '\'' +
                '}';
    }
}